var express = require('express');
var app = express();


app.use(express.methodOverride());
app.use(express.bodyParser());
app.use(app.router);
app.set('view engine', 'jade');
app.set('views', __dirname + '/newpublic');
app.set('view options', {layout: false});
app.set('basepath',__dirname + '/newpublic');

app.use(express.static(__dirname + '/newpublic'));

console.log("Web server has started.\nPlease log on http://127.0.0.1:3000/index.html");
app.listen(3000);
